all:
	make -C src
	@copy .\src\blob_bl .\eldr\tynux_bl
	@splitter ".\eldr\tynux_bl" .\eldr\ /SIZE2048 /SILENT 1>nul
	@kkfile .\eldr\tynux_bl .\eldr\spl_kk 1>nul
	@dx .\eldr\spl_kk .\eldr\spl.bin 1>nul
	@-del .\eldr\ipl.bin .\eldr\eldr.bin 2>nul
	@rename .\eldr\tynux_bl.001 ipl.bin
	@rename .\eldr\tynux_bl eldr.bin
	@-del /f /q .\eldr\tynux_bl.* .\eldr\spl_kk 2>nul


clean:
	make -C src clean
